package org.itstack.chain;

/**
 * 审批请求对象
 * 包含申请的基本信息
 */
public class ApprovalRequest {
    
    private String requestId;
    private String applicant;
    private String department;
    private double amount;
    private String purpose;
    private String description;
    
    public ApprovalRequest(String requestId, String applicant, String department, 
                          double amount, String purpose, String description) {
        this.requestId = requestId;
        this.applicant = applicant;
        this.department = department;
        this.amount = amount;
        this.purpose = purpose;
        this.description = description;
    }
    
    // Getters
    public String getRequestId() {
        return requestId;
    }
    
    public String getApplicant() {
        return applicant;
    }
    
    public String getDepartment() {
        return department;
    }
    
    public double getAmount() {
        return amount;
    }
    
    public String getPurpose() {
        return purpose;
    }
    
    public String getDescription() {
        return description;
    }
    
    @Override
    public String toString() {
        return "ApprovalRequest{" +
                "requestId='" + requestId + '\'' +
                ", applicant='" + applicant + '\'' +
                ", department='" + department + '\'' +
                ", amount=" + amount +
                ", purpose='" + purpose + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
